package com.act.service.api;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.act.domain.CustomsManagement;

//费用报单
public interface ICustomsManagementService {
	
	//添加一笔报单
	void add(CustomsManagement customsManagement);
	
	//删除
	void delete(int id);
	//修改
	void update(CustomsManagement customsManagement);
	
	//根据收款人或者单位查询报单列表
	List<CustomsManagement> getCustomsManagementsByPayee(CustomsManagement customsManagement);
	
	List<CustomsManagement> getAllByTypeOrPayyee(@Param("type")String type,@Param("payee")String payee);
	
}
